<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    
  </style>
</head>
<body>
  <div class="box" abc="hello" qwe="123456"></div>
</body>
<script>
  var box = document.querySelector(".box")

  // 对象语法操作js属性
  console.log( box.children );
  console.log( box.childNodes );
  console.log( box["children"] )
  console.log( box["childNodes"] )
  
  // 不能 完全 操作html属性
  console.log( box.hahaha );
  console.log( box.qwe );
  console.log( box.abc );
  console.log( box["hahaha"] )
  console.log( box["qwe"] )
  console.log( box["abc"] )
  

</script>
</html>